package jmu.edu.yjc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import jmu.edu.yjc.domain.entity.User;
import jmu.edu.yjc.domain.vo.user.UserContactVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 用户表(User)表数据库访问层
 *
 * @author makejava
 * @since 2023-01-17 17:06:06
 */
public interface UserMapper extends BaseMapper<User> {

    List<String> userCountByProvince();

    List<UserContactVo> getContracts(@Param("id") Long id);
}

